package one_class_design.three_work;

import java.util.Random;
import java.util.Scanner;

/**
 * @author 北巷_东坡
 * @date 2022/9/16 20:22
 * @computer 10741
 */
public class Truck {
    public ComputerWeight[] goods;
    public double totalWeights = 0;
    Truck(ComputerWeight[] goods){
        this.goods=goods;
    }

    public void setGoods(ComputerWeight[] goods) {
        this.goods = goods;
    }

    public double getTotalWeights() {
        return totalWeights;
    }
}
